* {
    margin: 0px;
    padding: 0px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

.heart {
    max-width: 1260px;
}

.menu {
    display: none;
}


/* ------------------头部导航-------------------- */

.nav {
    width: 100%;
    height: 38px;
    user-select: none;
    background-image: linear-gradient(90deg, rgb(249, 164, 167), rgb(165, 220, 214));
}

.item {
    /* position: relative; */
    float: left;
    width: 8%;
    text-align: center;
    line-height: 38px;
}

@media screen and (max-width:500px) {
    .menu {
        display: block;
        width: 100%;
        height: 30px;
        background-image: linear-gradient(90deg, rgb(249, 164, 167), rgb(165, 220, 214));
    }
    .menu>span {
        display: inline-block;
        margin: 6px 30px;
    }
    .nav {
        display: none;
        position: fixed;
        left: 0;
        width: 50%;
        height: 100%;
        background-color: rgba(16, 16, 16, 0.5);
    }
    .item {
        width: 100%;
        text-align: center;
    }
    .item>a {
        display: inline-block;
        width: 100%;
    }
    .item>ul {
        text-align: right;
    }
    .cover {
        display: none;
        position: fixed;
        right: 0;
        width: 50%;
        height: 100%;
        background-image: linear-gradient(90deg, rgba(16, 16, 16, 0.5), rgba(255, 255, 255, 0.5));
        z-index: 1;
    }
}

.item:hover {
    background-color: cornsilk;
}


/* 二级列表 */

.item>ul {
    width: 100%;
    background-color: blanchedalmond;
}

.item-son:hover {
    background-color: cornsilk;
}


/* 底部区域 */

.foot {
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: rgba(244, 245, 245, 8.6);
    background-image: linear-gradient(90deg, rgb(249, 164, 167), rgb(165, 220, 214));
    font-size: 12px;
    color: white;
    user-select: none;
}